<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/common/taglib.jsp" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
<head>
    <%@include file="/WEB-INF/jsp/common/common.jsp" %>
    <meta content="webkit" name="renderer"/>
    <title><spring:message code="database_title"/></title>
    <%--<link href="${ctx}/assets/css/context/context.standalone.css?version=${cssJsVersion}" rel="stylesheet"/>--%>
    <link href="${ctx}/assets/css/coursestep/thirdStep_ext.css?version=${cssJsVersion}" rel="stylesheet"/>

    <%--上传组件与播放器 css--%>
    <%@include file="/WEB-INF/jsp/common/public-upload-css.jsp"%>
    <%@include file="/WEB-INF/jsp/common/public-player-css.jsp"%>

    <%--上传组件 js 问题多多 必须放在这儿 不然导致其它js失效--%>
    <%@include file="/WEB-INF/jsp/common/public-upload-js.jsp"%>
    <%@include file="/WEB-INF/jsp/common/public-player-js.jsp"%>

    <link href="${ctx}/assets/css/os_base_${z_locale_code}.css?version=${cssJsVersion}" rel="stylesheet"/>
    <link href="${ctx}/assets/css/coursestep/stepcommon.css?version=${cssJsVersion}" rel="stylesheet" />
    <link href="${ctx}/assets/css/database/database.css?version=${cssJsVersion}" rel="stylesheet"/>
    <link href="${ctx}/assets/css/database/database_${z_locale_code}.css?version=${cssJsVersion}" rel="stylesheet"/>

    <%--弹框-蓝色--%>
    <link href="${ctx}/assets/css/common/layer-blue.css?version=${cssJsVersion}" rel="stylesheet" />

    <%--预览文件组件--%>
    <%@include file="/WEB-INF/jsp/common/public-filePreview-css.jsp"%>

    <%--预览图片组件--%>
    <%@include file="/WEB-INF/jsp/common/public-picPreview-css.jsp"%>
</head>

<body style="user-select:none;-moz-user-select:none;-webkit-user-select: none;-ms-user-select: none;" >
<%@ include file="/WEB-INF/jsp/common/header.jsp" %>
<div class="database-wrap" >
    <%--hidden area--%>
    <input id="courseId" type="hidden" value="${courseId}"/>
    <input id="recruitId" type="hidden" value="${recruitId}"/>

    <%--draggable="false"--%>
    <li id="baseFileDiv" class="hidden">
        <div title="" class="databasecontetdiv cur">
            <div class="icotop-span">
                <span class=""></span>
                <%--<span class="deleteico"></span>--%>
                <span class="teachervisibleico"></span>
            </div>
            <div class="editdatanameinput_div">
                <div class="editdataname-div" style="display:none;">
                    <input name="" type="text" class="editdataname-input"/>
                </div>
                <p class="editdataname-p">
                </p>
            </div>
        </div>
    </li>

    <!-------database-div start-------->
    <div class="databasecontet-div">
        <%--left accordion--%>
        <div class="databasecontet-l fl">
            <ul>
                <li class="cur" data-tabView="1" data-dirView="1"><a href="javascript:void(0);" class="clearfix"><em
                        class="allfilesico fl"></em><span
                        class="fl"><spring:message code='database_suoyouwenjian'/></span></a></li>
                <li data-tabView="2" data-dirView="2"><a href="javascript:void(0);" class="clearfix"><em class="pictureico fl"></em><span
                        class="fl"><spring:message code='database_tupian'/></span></a>
                </li>
                <li data-tabView="3" data-dirView="2"><a href="javascript:void(0);" class="clearfix"><em class="videoico fl"></em><span
                        class="fl"><spring:message code='database_shipin'/></span></a></li>
                <li data-tabView="4" data-dirView="2"><a href="javascript:void(0);" class="clearfix"><em class="fliesico fl"></em><span
                        class="fl"><spring:message code='database_wendang'/></span></a></li>
            </ul>
        </div>


        <div class="databasecontet-r fl mainContainer">
            <%--buttons--%>
            <div class="addgreatefolder-div clearfix">

                <div class="addico fl">
                    <div id="uploadFileBtn"></div>
                </div>

                <div class="greatefolder-div fr">
                    <%--<span class="greatefolderico"></span>--%>
                    <%--<p><spring:message code='database_xinjianwenjian'/></p>--%>
                </div>

            </div>

            <%--breadcrumb--%>
            <div class="databasenav-div clearfix">
                <div class="breadCrumb databasenav-l fl">

                </div>


                <%--view 控制栏--%>
                <%--<div class="databasenav-r fr">--%>
                	<%--<span>--%>
                    	<%--<span class="listico"></span>--%>
                     <%--</span>--%>
                    <%--<span class="cur">--%>
                     	<%--<span class="developico"></span>--%>
                     <%--</span>--%>
                <%--</div>--%>
            </div>


            <%--file content--%>
            <div class="databaselist-div nano">
                <ul id="fileContent" class="clearfix content">

                </ul>
            </div>
        </div>


    </div>
    <!-------database-div end -------->


    <%--<div class="hidden">--%>
        <%--<ul class="dropdown-menu dropdown-context" id="">--%>
            <%--<li><a tabindex="-1" href="#" id="event-21321707332982580">Teacher visible</a></li>--%>
            <%--<li><a tabindex="-1" href="#">Rename</a></li>--%>
            <%--<li><a tabindex="-1" href="#">Download</a></li>--%>
            <%--<li><a tabindex="-1" href="#">Cut</a></li>--%>
            <%--<li><a tabindex="-1" href="#">Delete</a></li>--%>
        <%--</ul>--%>
    <%--</div>--%>
</div>

<%--必须在jsp设置 consoleDebug.jsp前引入--%>
<script src="${ctx}/assets/js/course/iecomp.js?version=${cssJsVersion}" type="text/javascript"></script>
<%@include file="/WEB-INF/jsp/common/consoleDebug.jsp" %>
<%@include file="/WEB-INF/jsp/common/publicVideoPlayer.jsp" %>
<script>
    _listen = false;

    function _opener_refresh_list() {
        if(_listen&&window.opener&&window.opener._listenMovieNumCallBack){
            window.opener._listenMovieNumCallBack();
        }
    }
</script>
<%
    String _listen = request.getParameter("_listen");
    if (_listen != null) {
%>
<script>
    _listen = true;
    console.log('[param]_listen enabled...');
</script>
<%
    }
%>

<%--预览文件组件--%>
<%@include file="/WEB-INF/jsp/common/public-filePreview-js.jsp"%>
<%--预览图片组件--%>
<%@include file="/WEB-INF/jsp/common/public-picPreview-js.jsp"%>

<%--右键菜单--%>
<%--<script src="${ctx}/assets/js/context/context_standlone.js?version=${cssJsVersion}" type="text/javascript"></script>--%>
<script src="${ctx}/assets/js/context/context_coursedata.js?version=${cssJsVersion}" type="text/javascript"></script>
<%--input focus到尾部--%>
<script src="${ctx}/assets/js/course/jquery.textFocus.js" type="text/javascript"></script>
<%--通用工具--%>
<script src="${ctx}/assets/js/course/comUtil.js?version=${cssJsVersion}" type="text/javascript"></script>
<script src="${ctx}/assets/js/course/jqueryUtil.js?version=${cssJsVersion}" type="text/javascript"></script>

<%--引入各个模块 js--%>
<%--文件夹lib--%>
<script src="${ctx}/assets/js/course/third/courseData.js?version=${cssJsVersion}" type="text/javascript"></script>
<%--上传逻辑--%>
<script src="${ctx}/assets/js/course/third/courseDataUpload.js?version=${cssJsVersion}" type="text/javascript"></script>

</body>
</html>
